package gui;

import gui.user.User;

import java.awt.event.*;
import java.awt.geom.Point2D;

import math.Vector2D;

public class GUIMouseMotionListener implements MouseMotionListener
{
	private User user;

	public GUIMouseMotionListener(User u)
	{
		user = u;
	}
	
	public void mouseDragged(MouseEvent e){}
	
	public void mouseMoved(MouseEvent e)
	{
		user.mouseMove(new Point2D.Double(e.getX(), e.getY()));
	}
}
